package OBSXML;

import java.util.ArrayList;

/**
 * Konfigurationslæser til BatchRapport Collector
 * 
 * @author Børge Bergstrøm
 * @
 */
public class CollectorCONF extends XML{

    private String reportDIR = null;
    
    private ArrayList<String> dbConfFileReader = ReadXMLFile();

   /**
    * Indlæser xmlfil udfra angivet sti og xml file navn
    *
    * @param path
    * @param XMLFileName
    */
    public CollectorCONF(String path, String XMLFileName)
    {
        super(path, XMLFileName);
        reportDIR = dbConfFileReader.get(0);
    }

    /**
     * Returnerer report folderen
     *
     * @return String
     */
    public String getReportDir()
    {
        return reportDIR;
    }
}
